

package com.hazelcast.transaction.impl.operations;

import com.hazelcast.nio.serialization.IdentifiedDataSerializable;
import com.hazelcast.spi.impl.operationservice.Operation;

import static com.hazelcast.transaction.impl.TransactionDataSerializerHook.F_ID;
import static com.hazelcast.transaction.impl.TransactionManagerServiceImpl.SERVICE_NAME;

public abstract class AbstractTxOperation extends Operation implements IdentifiedDataSerializable {

    @Override
    public String getServiceName() {
        return SERVICE_NAME;
    }

    @Override
    public int getFactoryId() {
        return F_ID;
    }
}
